package com.szzz.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.stereotype.Component;

/**
 * 应用配置
 *
 * @author ZhangYin
 */
@Data
@Component
@ConfigurationProperties(prefix = "app")
public class ApplicationProperties {

    @NestedConfigurationProperty
    private DynamicRouteProperties route;

}
